<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
开始
<script>
    document.write("<h1>hello</h1>")
</script>
结尾
</body>
</html>